<?php
/**
 * Created by PhpStorm.
 * User: tiger
 * Date: 2019/1/25
 * Time: 11:49
 */

require 'vendor/autoload.php';

use QL\QueryList;


$u = 'https://www.meipian.cn/1vncw2pf?share_from=self&v=4.8.2&share_user_mpuuid=6431afe205ed036af998639bb47ca22d&utm_source=singlemessage&from=singlemessage&user_id=8116757&uuid=392e2cc0f8fc58ce8c787f6fec67c37b&utm_medium=meipian_android';

$rules = array(

    //采集class为two下面的第二张图片的链接
    'img' => array('.section .img-box>img','src'),
    //采集span标签中的HTML内容
    'other' => array('.well','html')
);

$data = QueryList::Query($u,$rules)->data;

print_r($data);